package xuegao.study.mall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import reactivefeign.spring.config.EnableReactiveFeignClients;

@EnableDiscoveryClient
@EnableFeignClients
@EnableReactiveFeignClients
@SpringBootApplication
public class GatewayApp {
    public static void main(String[] args) {
        try {
            SpringApplication.run(GatewayApp.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }

    }
}
